import request from '@/utils/request'

// 查询工时标准列表
export function listWorkingHoursStandard(query) {
  return request({
    url: '/gs/workingHoursStandard/list',
    method: 'get',
    params: query
  })
}

// 查询工时标准详细
export function getWorkingHoursStandard(id) {
  return request({
    url: '/gs/workingHoursStandard/' + id,
    method: 'get'
  })
}

// 新增工时标准
export function addWorkingHoursStandard(data) {
  return request({
    url: '/gs/workingHoursStandard',
    method: 'post',
    data: data
  })
}

// 修改工时标准
export function updateWorkingHoursStandard(data) {
  return request({
    url: '/gs/workingHoursStandard',
    method: 'put',
    data: data
  })
}

// 删除工时标准
export function delWorkingHoursStandard(id) {
  return request({
    url: '/gs/workingHoursStandard/' + id,
    method: 'delete'
  })
}
